Skip to content

Fix Python dict syntax error in audio_url in vLLM Online Serving with OpenAI SDK example#115

Open
splendor1811 wants to merge 1 commit intoQwenLM:mainfrom
splendor1811:fix-readme-audio-url-example
Open

Fix Python dict syntax error in audio_url in vLLM Online Serving with OpenAI SDK example#115
splendor1811 wants to merge 1 commit intoQwenLM:mainfrom
splendor1811:fix-readme-audio-url-example

Conversation

@splendor1811
Copy link

The Python example in README contains an invalid dictionary syntax:

"audio_url": {
    {"url": "..."}
}

This creates a set containing a dictionary, which raises:

TypeError: unhashable type: ‘dict’

This PR fixes the example to the correct syntax:

"audio_url": {
    "url": "..."
}

Tested locally with vLLM serving Qwen3-ASR-1.7B.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant